package com.shop.cereshop.agent.service.product;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.commons.domain.agentProduct.CereAgentProductSku;

public interface AgentProductSkuService extends IService<CereAgentProductSku> {
  /**
   * 回滚SKU库存
   * 
   * @param skuId     SKU id
   * @param buyNumber 购买数量
   */
  void rollbackStock(Long skuId, Integer buyNumber);
}